/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package bpmn;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Activity</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link bpmn.Activity#getActivityType <em>Activity Type</em>}</li>
 *   <li>{@link bpmn.Activity#getStatus <em>Status</em>}</li>
 *   <li>{@link bpmn.Activity#getPerformers <em>Performers</em>}</li>
 *   <li>{@link bpmn.Activity#getProperties <em>Properties</em>}</li>
 *   <li>{@link bpmn.Activity#getInputSets <em>Input Sets</em>}</li>
 *   <li>{@link bpmn.Activity#getOutputSets <em>Output Sets</em>}</li>
 *   <li>{@link bpmn.Activity#getIORules <em>IO Rules</em>}</li>
 *   <li>{@link bpmn.Activity#getStartQuantity <em>Start Quantity</em>}</li>
 *   <li>{@link bpmn.Activity#getCompletionQuantity <em>Completion Quantity</em>}</li>
 *   <li>{@link bpmn.Activity#getLoopType <em>Loop Type</em>}</li>
 *   <li>{@link bpmn.Activity#getIsForCompensation <em>Is For Compensation</em>}</li>
 * </ul>
 * </p>
 *
 * @see bpmn.BpmnPackage#getActivity()
 * @model abstract="true"
 * @generated
 */
public interface Activity extends FlowObject {
	/**
	 * Returns the value of the '<em><b>Activity Type</b></em>' attribute.
	 * The literals are from the enumeration {@link bpmn.ActivityType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Activity Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Activity Type</em>' attribute.
	 * @see bpmn.ActivityType
	 * @see #setActivityType(ActivityType)
	 * @see bpmn.BpmnPackage#getActivity_ActivityType()
	 * @model required="true"
	 * @generated
	 */
	ActivityType getActivityType();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getActivityType <em>Activity Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Activity Type</em>' attribute.
	 * @see bpmn.ActivityType
	 * @see #getActivityType()
	 * @generated
	 */
	void setActivityType(ActivityType value);

	/**
	 * Returns the value of the '<em><b>Status</b></em>' attribute.
	 * The literals are from the enumeration {@link bpmn.StatusType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Status</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Status</em>' attribute.
	 * @see bpmn.StatusType
	 * @see #setStatus(StatusType)
	 * @see bpmn.BpmnPackage#getActivity_Status()
	 * @model required="true"
	 * @generated
	 */
	StatusType getStatus();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getStatus <em>Status</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Status</em>' attribute.
	 * @see bpmn.StatusType
	 * @see #getStatus()
	 * @generated
	 */
	void setStatus(StatusType value);

	/**
	 * Returns the value of the '<em><b>Performers</b></em>' attribute list.
	 * The list contents are of type {@link java.lang.String}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Performers</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Performers</em>' attribute list.
	 * @see bpmn.BpmnPackage#getActivity_Performers()
	 * @model
	 * @generated
	 */
	EList<String> getPerformers();

	/**
	 * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
	 * The list contents are of type {@link bpmn.Property}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Properties</em>' containment reference list.
	 * @see bpmn.BpmnPackage#getActivity_Properties()
	 * @model containment="true"
	 * @generated
	 */
	EList<Property> getProperties();

	/**
	 * Returns the value of the '<em><b>Input Sets</b></em>' reference list.
	 * The list contents are of type {@link bpmn.InputSet}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Input Sets</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Input Sets</em>' reference list.
	 * @see bpmn.BpmnPackage#getActivity_InputSets()
	 * @model
	 * @generated
	 */
	EList<InputSet> getInputSets();

	/**
	 * Returns the value of the '<em><b>Output Sets</b></em>' reference list.
	 * The list contents are of type {@link bpmn.OutputSet}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Output Sets</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Output Sets</em>' reference list.
	 * @see bpmn.BpmnPackage#getActivity_OutputSets()
	 * @model
	 * @generated
	 */
	EList<OutputSet> getOutputSets();

	/**
	 * Returns the value of the '<em><b>IO Rules</b></em>' reference list.
	 * The list contents are of type {@link bpmn.Expression}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IO Rules</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IO Rules</em>' reference list.
	 * @see bpmn.BpmnPackage#getActivity_IORules()
	 * @model
	 * @generated
	 */
	EList<Expression> getIORules();

	/**
	 * Returns the value of the '<em><b>Start Quantity</b></em>' attribute.
	 * The default value is <code>"1"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Quantity</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Quantity</em>' attribute.
	 * @see #setStartQuantity(short)
	 * @see bpmn.BpmnPackage#getActivity_StartQuantity()
	 * @model default="1" required="true"
	 * @generated
	 */
	short getStartQuantity();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getStartQuantity <em>Start Quantity</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Quantity</em>' attribute.
	 * @see #getStartQuantity()
	 * @generated
	 */
	void setStartQuantity(short value);

	/**
	 * Returns the value of the '<em><b>Completion Quantity</b></em>' attribute.
	 * The default value is <code>"1"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Completion Quantity</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Completion Quantity</em>' attribute.
	 * @see #setCompletionQuantity(short)
	 * @see bpmn.BpmnPackage#getActivity_CompletionQuantity()
	 * @model default="1" required="true"
	 * @generated
	 */
	short getCompletionQuantity();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getCompletionQuantity <em>Completion Quantity</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Completion Quantity</em>' attribute.
	 * @see #getCompletionQuantity()
	 * @generated
	 */
	void setCompletionQuantity(short value);

	/**
	 * Returns the value of the '<em><b>Loop Type</b></em>' attribute.
	 * The default value is <code>""</code>.
	 * The literals are from the enumeration {@link bpmn.LoopType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Loop Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Loop Type</em>' attribute.
	 * @see bpmn.LoopType
	 * @see #setLoopType(LoopType)
	 * @see bpmn.BpmnPackage#getActivity_LoopType()
	 * @model default="" required="true"
	 * @generated
	 */
	LoopType getLoopType();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getLoopType <em>Loop Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Loop Type</em>' attribute.
	 * @see bpmn.LoopType
	 * @see #getLoopType()
	 * @generated
	 */
	void setLoopType(LoopType value);

	/**
	 * Returns the value of the '<em><b>Is For Compensation</b></em>' attribute.
	 * The default value is <code>"false"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Is For Compensation</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Is For Compensation</em>' attribute.
	 * @see #setIsForCompensation(Boolean)
	 * @see bpmn.BpmnPackage#getActivity_IsForCompensation()
	 * @model default="false" required="true"
	 * @generated
	 */
	Boolean getIsForCompensation();

	/**
	 * Sets the value of the '{@link bpmn.Activity#getIsForCompensation <em>Is For Compensation</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Is For Compensation</em>' attribute.
	 * @see #getIsForCompensation()
	 * @generated
	 */
	void setIsForCompensation(Boolean value);

} // Activity
